package com.yingxin.yxerp.module.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yingxin.yxerp.module.sys.entity.MessageSendingOptions;
import com.yingxin.yxerp.module.sys.mapper.MessageSendingOptionsMapper;
import com.yingxin.yxerp.module.sys.service.IMessageSendingOptionsService;
import com.yingxin.yxerp.module.sys.vo.resp.MessageSendingOptionsRespVo;
import org.springframework.stereotype.Service;

/**
 * 消息发送选项（平台） 服务 实现类
 * @author yuebao
 * @since 2024-09-11
 */

@Service
public class MessageSendingOptionsServiceImpl
        extends ServiceImpl<MessageSendingOptionsMapper, MessageSendingOptions>
        implements IMessageSendingOptionsService {

    /**
     * 获取 mapper
     */
    @Override
    public MessageSendingOptionsMapper mapper() {
        return baseMapper;
    }

    /**
     * 获取设置
     */
    @Override
    public MessageSendingOptionsRespVo getOne() {
        return baseMapper.getOneVo();
    }

}
